import sys

from PyQt5 import QtWidgets

from controller.window_controller import Controller
from dao.database import createConnection

# def main():
    # app = QtWidgets.QApplication(sys.argv)
    # controller = Controller()
    # controller.show_login()
    # sys.exit(app.exec())

if __name__ == '__main__':
    app = QtWidgets.QApplication(sys.argv)
    # if not createConnection():
    #     sys.exit(-1)

    controller = Controller()
    controller.show_login()
    sys.exit(app.exec())